package com.itheima.web.service;

import com.itheima.web.domain.WeixinUser;
import com.itheima.web.mapper.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserService {

    @Autowired
    UserMapper userMapper;

    public WeixinUser findById(String id) {
        WeixinUser user = userMapper.findById(id);
        return user;

    }
}
